package com.bw.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bw.domain.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author xingsai
* @description 针对表【sys_role(角色信息表)】的数据库操作Mapper
* @createDate 2023-08-15 19:23:46
* @Entity com.bw.domain.SysRole
*/
public interface SysRoleMapper extends BaseMapper<SysRole> {

    IPage<SysRole> listRole(Page<?> page, @Param("roleName") String roleName,@Param("roleKey") String roleKey,@Param("status") String status,@Param("beginTime") String beginTime,@Param("endTime") String endTime);

    List<SysRole> listExcel();

    void upStatus(Integer roleId);
}




